powered by
Density of the SESPC distribution.
dsespc(y, mu, theta, logden = FALSE)
A vector with the (log) density values of y.
A matrix or a vector with the data expressed in Euclidean coordinates, i.e. unit vectors.
The mean vector the SESPC distribution, a vector in \(R^3\).
The two \(\theta\) parameters of the SESPC distribution.
If you the logarithm of the density values set this to TRUE.
Michail Tsagris.
R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.
The density of the SESPC distribution is computed.
Tsagris M. and Alzeley O. (2023). Circular and spherical projected Cauchy distributions. https://arxiv.org/pdf/2302.02468.pdf
Mardia K. V. and Jupp P. E. (2000). Directional statistics. Chicester: John Wiley & Sons.
desag, sespc.mle
m <- colMeans( as.matrix( iris[,1:3] ) ) y <- rsespc(1000, m, c(1, 1)) mod <- sespc.mle(y) dsespc( y, mod$mu, mod$theta)
Run the code above in your browser using DataLab